package com.sunagy.demand.front.dataobject;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.util.Date;

/**
 * desc：管理员用户
 * author：三餘無夢生
 * date：2018/4/12
 * time：下午3:59
 */
@Data
@Entity
@EntityListeners(AuditingEntityListener.class)
@ApiModel(value="model", description = "用户实体")
public class CustomerProgress {

    @Id
    @GeneratedValue
    private Integer id;
    @Column(name="user_id")
    private Integer userid;
    private String progress_name;
    private Integer status;
    private String dic_code;
    private String dic_name;
    private Boolean enable;
    private Integer sort;
    private String remark;
    private Date deal_time;
    @CreatedDate
    private Date create_time;
    @CreatedBy
    private Integer create_id;
    @LastModifiedDate
    private Date update_time;
    @LastModifiedBy
    private Integer update_id;
}
